package com.zixuan.gulicollege.video.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @ClassName: VideoService
 * @Author: zixuan
 * @Date: 2021/5/12 20:31
 * @Description:
 */
public interface VideoService {

    /**
     * 上传视频接口
     * @param file
     * @return
     */
    String uploadVideo(MultipartFile file);

    /**
     * 删除视频接口
     * @param id
     */
    void deleteAliyunVideo(String id);

    /**
     * 删除多个视频
     * @param videoListId
     */
    void deleteBatch(List<String> videoListId);

    /**
     * 获取视频播放凭证
     * @param id
     * @return
     */
    String getPlayAuth(String id);
}
